package com.zznzzn.myweb.mapper;

import com.zznzzn.myweb.pojo.File;
import com.zznzzn.myweb.pojo.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FileMapper {
    public List<File> queryFileByItem(@Param("itemid") String itemid);
    public File queryFileBuFileId(@Param("id") String fileid);
    public int insertFile(File item);
    public int deleteFile(@Param("id") String fileid);
}
